package utilities;

/**
 * Date utility functions.
 * @author pcdejager
 *
 */
public final class DateUtilities {
    /**
     * Calculates the number of years from total days.
     * @param days The total number of days
     * @return The total number of year
     */
    public static int daysToYears(final int days) {
        return (days / TimeProperties.getInstance().daysInAYear());
    }

    /**
     * Hide default constructor.
     */
    private DateUtilities() {

    }
}
